export default [
    //主页面
    {
        path: "/layout",
        name: 'layout',
        component: () => import("@/views/mobile/layout"),
        children: [
            //首页
            {
                path: "/home",
                name: 'home',
                component: () => import("@/views/mobile/home")
            },
            //问答页面
            {
                path: "/question",
                name: 'question',
                component: () => import("@/views/mobile/question")
            },
            //视频列表
            {
                path: "/video",
                name: 'video',
                component: () => import("@/views/mobile/video")
            },
            //个人中心页面
            {
                path: "/my",
                name: 'my',
                component: () => import("@/views/mobile/my")
            }
        ]
    },
    //登陆的页面
    {
        path: "/login",
        name: 'login',
        component: () => import("@/views/mobile/login")
    },
    {
        path: "/search",
        name: 'search',
        component: () => import("@/views/mobile/search")
    },

    //文章详情页面
    {
        path:"/article/detail/:id",
        name:"article",
        component:()=> import("@/views/mobile/article")
    }

]